package com.softeem.yuedong_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 歌单详情表，歌单表和歌曲的关联表
 * @TableName musiclistdetails
 */
@TableName(value ="musiclistdetails")
@Schema(title = "歌单详情表")
@Data
public class Musiclistdetails implements Serializable {
    /**
     * 歌单详情id
     */
    @Schema(title = "歌单详情id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 歌单id
     */
    @Schema(title = "歌单id")
    private Integer listid;

    /**
     * 歌曲id
     */
    @Schema(title = "歌曲id")
    private Integer mid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}